const rules = {
  operationStatus: [
    {
      required: true,
      message: '经营状态不能为空',
      trigger: 'change'
    }
  ],
  closeReasonUrl: [
    {
      required: true,
      message: '关闭原因图不能为空',
      trigger: 'change'
    }
  ],
  shopName: [
    {
      required: true,
      message: '请输入小程序名称',
      trigger: 'blur'
    },
    {
      max: 10,
      message: '平台名称限制10个文字'
    }
  ],
  shopMsg: [
    {
      required: true,
      message: '请输入平台定位语',
      trigger: 'blur'
    },
    {
      max: 20,
      message: '平台定位语限制20个文字'
    }
  ],
  shopLogoUrl: [
    {
      required: true,
      message: '平台logo不能为空',
      trigger: 'change'
    }
  ],
  address: [
    {
      max: 50,
      message: '联系地址限制50个字'
    }
  ],
  customPhone: [
    {
      required: true,
      message: '请输入客服电话',
      trigger: 'blur'
    }
  ],
  isCustom: [
    {
      required: true,
      message: '客服开关不能为空',
      trigger: 'change'
    }
  ],
  customIcon: [
    {
      required: true,
      message: '客服图标不能为空',
      trigger: 'change'
    }
  ],
  startPage: [
    {
      required: true,
      message: '开机页不能为空',
      trigger: 'change'
    }
  ],
  startGuide: [
    {
      required: true,
      message: '开机引导页不能为空',
      trigger: 'change'
    }
  ],
  noDataIcon: [
    {
      required: true,
      message: '暂无数据图不能为空',
      trigger: 'change'
    }
  ],
  integralDesc: [
    {
      required: true,
      message: '积分说明不能为空',
      trigger: 'blur'
    }
  ]
}

export default rules
